go.uber.org/zap/zapcore.jsonEncoder.buf (field)

65 uses

	go.uber.org/zap/zapcore (current package)
		console_encoder.go#L137: 		context.buf.Free()
		console_encoder.go#L143: 	if context.buf.Len() == 0 {
		console_encoder.go#L149: 	line.Write(context.buf.Bytes())
		json_encoder.go#L46: 	enc.buf = nil
		json_encoder.go#L56: 	buf            *buffer.Buffer
		json_encoder.go#L95: 		buf:           bufferpool.Get(),
		json_encoder.go#L185: 	_, err = enc.buf.Write(valueBytes)
		json_encoder.go#L191: 	enc.buf.AppendByte('{')
		json_encoder.go#L212: 	enc.buf.AppendByte('[')
		json_encoder.go#L214: 	enc.buf.AppendByte(']')
		json_encoder.go#L224: 	enc.buf.AppendByte('{')
		json_encoder.go#L226: 	enc.buf.AppendByte('}')
		json_encoder.go#L234: 	enc.buf.AppendBool(val)
		json_encoder.go#L239: 	enc.buf.AppendByte('"')
		json_encoder.go#L241: 	enc.buf.AppendByte('"')
		json_encoder.go#L251: 	enc.buf.AppendByte('"')
		json_encoder.go#L254: 	enc.buf.AppendFloat(r, precision)
		json_encoder.go#L258: 		enc.buf.AppendByte('+')
		json_encoder.go#L260: 	enc.buf.AppendFloat(i, precision)
		json_encoder.go#L261: 	enc.buf.AppendByte('i')
		json_encoder.go#L262: 	enc.buf.AppendByte('"')
		json_encoder.go#L266: 	cur := enc.buf.Len()
		json_encoder.go#L270: 	if cur == enc.buf.Len() {
		json_encoder.go#L279: 	enc.buf.AppendInt(val)
		json_encoder.go#L288: 	_, err = enc.buf.Write(valueBytes)
		json_encoder.go#L294: 	enc.buf.AppendByte('"')
		json_encoder.go#L296: 	enc.buf.AppendByte('"')
		json_encoder.go#L301: 	enc.buf.AppendByte('"')
		json_encoder.go#L302: 	enc.buf.AppendTime(time, layout)
		json_encoder.go#L303: 	enc.buf.AppendByte('"')
		json_encoder.go#L307: 	cur := enc.buf.Len()
		json_encoder.go#L311: 	if cur == enc.buf.Len() {
		json_encoder.go#L320: 	enc.buf.AppendUint(val)
		json_encoder.go#L348: 	clone.buf.Write(enc.buf.Bytes())
		json_encoder.go#L357: 	clone.buf = bufferpool.Get()
		json_encoder.go#L363: 	final.buf.AppendByte('{')
		json_encoder.go#L367: 		cur := final.buf.Len()
		json_encoder.go#L369: 		if cur == final.buf.Len() {
		json_encoder.go#L380: 		cur := final.buf.Len()
		json_encoder.go#L390: 		if cur == final.buf.Len() {
		json_encoder.go#L399: 			cur := final.buf.Len()
		json_encoder.go#L401: 			if cur == final.buf.Len() {
		json_encoder.go#L416: 	if enc.buf.Len() > 0 {
		json_encoder.go#L418: 		final.buf.Write(enc.buf.Bytes())
		json_encoder.go#L425: 	final.buf.AppendByte('}')
		json_encoder.go#L426: 	final.buf.AppendString(final.LineEnding)
		json_encoder.go#L428: 	ret := final.buf
		json_encoder.go#L434: 	enc.buf.Reset()
		json_encoder.go#L439: 		enc.buf.AppendByte('}')
		json_encoder.go#L446: 	enc.buf.AppendByte('"')
		json_encoder.go#L448: 	enc.buf.AppendByte('"')
		json_encoder.go#L449: 	enc.buf.AppendByte(':')
		json_encoder.go#L451: 		enc.buf.AppendByte(' ')
		json_encoder.go#L456: 	last := enc.buf.Len() - 1
		json_encoder.go#L460: 	switch enc.buf.Bytes()[last] {
		json_encoder.go#L464: 		enc.buf.AppendByte(',')
		json_encoder.go#L466: 			enc.buf.AppendByte(' ')
		json_encoder.go#L475: 		enc.buf.AppendString(`"NaN"`)
		json_encoder.go#L477: 		enc.buf.AppendString(`"+Inf"`)
		json_encoder.go#L479: 		enc.buf.AppendString(`"-Inf"`)
		json_encoder.go#L481: 		enc.buf.AppendFloat(val, bitSize)
		json_encoder.go#L492: 		enc.buf,
		json_encoder.go#L502: 		enc.buf,